<?php

interface IRepository
{

  public function find($id = null, $params = array());
  public function findAll($params = array());
  public function findCount($params = array());
  public function save(&$data);
  public function delete($id, $params = array());
  public function deleteAll($params);

}

?>